package com.sgb.kjwl.di;

import com.sgb.kjwl.view.ui.activity.DaggerTestActivity;
import com.sgb.kjwl.viewmodel.DraggerTestModel;
import com.swgk.core.base.di.Activity;

import dagger.Module;
import dagger.Provides;

@Module
public class DraggerTestModule {
    private DaggerTestActivity activity;

    public DraggerTestModule(DaggerTestActivity activity) {
        this.activity = activity;
    }

    @Provides
    @Activity
    DraggerTestModel provideDraggerTestModel() {
        return new DraggerTestModel(activity);
    }

}
